import pandas as pd
from pandas import Series, DataFrame
import numpy as np

sel = Series([1, 2, 3, 4], index=["a", "b", "c", "d"])
print(sel)
print(sel.values)
print(sel.index)
print(list(sel.iteritems()))
dict_01 = {"red": 100, "green": 200}
print(Series(dict_01))
print(sel["a"])
print(sel[["a", "c"]])
print(sel["a":"c"])
print(sel[0])
print(sel[0:3])
print(sel[[0, 2]])
